import { Module, Logger } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { WechatController } from './wechat.controller';
import { WechatService } from './wechat.service';
import { WechatFan  } from './mongo/wechat-fan.entity'; // MongoDB 实体

@Module({
  imports: [
    TypeOrmModule.forFeature([WechatFan], 'mongo'),
  ],
  controllers: [WechatController],
  providers: [WechatService, Logger],
})
export class WechatModule {}
